/**org.mrlof.navigation.Point
 * created on 2009-2-20	上午8:28:09
 */
package org.mrlof.navigation;

/**
 * @author thiswind (thiswind@gmail.com)
 *
 */
public class Point {
	public int x;
	public int y;
	
	public Point() {
		this(0, 0);
	}
	
	public Point(Point p) {
		this.resetTo(p);
	}
	
	public Point(int x, int y) {
		this.resetTo(x, y);
	}
	
	public void resetTo(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	public void resetTo(Point p) {
		this.resetTo(p.x, p.y);
	}
}
